<?php
namespace app\admin\controller\finance;
use app\admin\controller\Controller;
use app\common\model\divide\Service;

/**
 *  服务商分红记录
 * Class Services
 * @package app\admin\controller\abonus
 */

class Services extends Controller
{


      public function index()
      {


        $model = new Service();
        return $this->fetch('index', [
            // 充值记录列表
            'list' => $list = $model->getIncomeList($this->request->param()),
        ]);
      }
      //月汇总
      public function  gather(){
          $model = new Service();
          return $this->fetch('index', [
              // 充值记录列表
              'list' => $list = $model->getGather($this->request->param()),
          ]);
      }
}